<template>
  <wd-config-provider :themeVars="themeVars">
    <slot />
    <wd-toast />
    <wd-message-box />
  </wd-config-provider>
</template>

<script lang="ts" setup>
import { useTheme } from '../hooks/useTheme'
const { themeVars } = useTheme()
</script>
